import request from '@/utils/request'
// 社会服务档案List
export function socialServiceListApi(query) {
  return request({
    url: '/jsjx/socialService/list',
    method: 'get',
    params: query
  })
};
// 社会服务档案ById
export function socialServiceByIdApi(id) {
  return request({
    url: `/jsjx/socialService/${id}`,
    method: 'get',
  })
};
// 社会服务档案Add
export function socialServiceAddApi(data) {
  return request({
    url: '/jsjx/socialService',
    method: 'post',
    data
  })
};
// 社会服务档案Edit
export function socialServiceEditApi(data) {
  return request({
    url: '/jsjx/socialService',
    method: 'put',
    data
  })
};
// 社会服务档案Del
export function socialServiceDelApi(id) {
  return request({
    url: `/jsjx/socialService/${id}`,
    method: 'delete',
  })
};